package com.goods.business.service;

import com.goods.common.model.business.Product;
import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface ProductService {
    PageVO<ProductVO> findProductList(Integer pageNum, Integer pageSize, ProductVO productVO);

    Object add(ProductVO productVO);

    Object edit(Long id);

    Object update(Long id,ProductVO productVO);

    Object remove(Long id);

    Object back(Long id);

    Object delete(Long id);

    Object publish(Long id);


    PageVO<ProductStockVO> findProductStocks(Integer pageSize, Integer pageNum, String categorys, String name);


}
